<!DOCTYPE html>
<html>
<head>
<title>hg.base Test </title>
<link rel="stylesheet" type="text/css" href="../third-party/jasmine-1.0.1/jasmine.css">
<style type="text/css">
	body{
		background-color:#F0F0F0;
		text-align:center;
	}
	ul{
		width: 450px;
		height: 100px;
		margin: 1.5em auto;
    	padding-left: 20px;
	}
	li{
		float: left;
	    list-style-type: none;
	    padding: 10px;
	}
	img{
		border: none;
	}
	#wrapper{
		width:100%;
	}
	.thumb{
		background-color: #000000;
	    display: block;
	    height: 68px;
	    padding: 2px;
	    width: 87px;
	}
	.thumb img {
    	height: 68px;
    	opacity: 0.4;
    	filter:alpha(opacity=50);
    	width: 88px;
	}
</style>
<script src="../third-party/jasmine-1.0.1/jasmine.js"></script>
<script src="../third-party/jasmine-1.0.1/jasmine-html.js"></script>

<script src="http://alpha-static.hangame.co.jp/js/fw/jquery/jquery-1.4.2.min.js"></script>
<script src="http://alpha-static.hangame.co.jp/js/fw/jquery/core.1.0.js"></script>

<script src="./base.js"></script>
<script src="./hg_base_slide.js"></script>
<script>
	jQuery(document).ready(function(){
		var 
			preurl = 'http://dev-library.hangame.co.jp/jindo/SpotDeck/image/',
			i = 1, n;
		for(;i<=4;i++){
			(function(){
				n = new Image;
				n.src = preurl + 'ss' + i + '.jpg';
			})();
		}
	});
</script>
</head>
<body>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
	<div id="wrapper" class="fix">
		<ul>
			<li>
				<a href="javascript:;" title="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ss1.jpg">
					<img src="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ssThumb1.jpg">
				</a>
			</li>
			<li>
				<a href="javascript:;" title="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ss2.jpg">
					<img src="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ssThumb2.jpg">
				</a>
			</li>
			<li>
				<a href="javascript:;" title="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ss3.jpg">
					<img src="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ssThumb3.jpg">
				</a>
			</li>
			<li>
				<a href="javascript:;" title="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ss4.jpg">
					<img src="http://dev-library.hangame.co.jp/jindo/SpotDeck/image/ssThumb4.jpg">
				</a>
			</li>
		</ul>
	</div>
	<h1>Test</h1>
	<h1>Test</h1>
	<h1>Test</h1>
<script type="text/javascript">
	jQuery("#wrapper li img").map(function(){
		jQuery(this).bind('click',function(e){
			var slide = hbs(this,{
				effectin: 'easeOutExpo',
				effectout: 'easeOutBack'
			});
			slide.display();
			e.stopPropagation();
		});
	});
</script>
</script>
</body>
</html>